# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=distrobox
pkgver=1.8.0
pkgrel=0
pkgdesc="Use any Linux distribution inside your terminal"
url="https://distrobox.it/"
# s390x, loongarch64: blocked by podman
arch="noarch !s390x !loongarch64"
license="GPL-3.0-only"
depends="podman"
subpackages="$pkgname-doc $pkgname-bash-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/89luca89/distrobox/archive/refs/tags/$pkgver.tar.gz"
install="$pkgname.post-upgrade"
options="!check" # No tests

package() {
	./install --prefix "$pkgdir"/usr

	install -dm0755 "$pkgdir"/usr/share/doc/distrobox
	install -m 0644 docs/*.md "$pkgdir"/usr/share/doc/distrobox
}

sha512sums="
5d34c8aea935a6ea328071268b63ba8a5cd3e7962f85e9753e0adfcca6121c560d790124a1ce288ec6362e4c58e4e732d45a2873053a48a3d9b8bd823ddd72c5  distrobox-1.8.0.tar.gz
"
